<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.prime.com.tr/ui">


	<h:head>
		<title>CNPV - Cadastro Nacional de Proteção Veicular</title>
		<meta name="viewport" content="user-scalable=no, width=device-width" />
		<h:outputStylesheet name="css/base.css" />
		<h:outputStylesheet name="css/default.css" />
	</h:head>
	
<f:view contentType="text/html">
	<h:body>
		<div id="header-top">
			<h:graphicImage value="/resources/imgs/logo1.jpg"/>
			<span style="float: right;">
				<h:graphicImage value="/resources/imgs/logo2.jpg"/>
			</span>  
		</div> 
		<div id="menunav"  class="ui-toolbar ui-widget ui-widget-header ui-corner-all ui-helper-clearfix" style="height: 27px;">
		</div>
		<p:focus /> 
			<div id="container">
				<div id="wrap">
			        <div class="box-form-login">
			            	<h:form id="formlogin">
								<p:messages id="growl" showDetail="true" showSummary="false"/>
				                <label>Nome de Usuario<br />
			                	<p:inputText value="#{usuarioMB.usuario.dsLogin}" id="userlogin"
									required="true" requiredMessage="Login é obrigatório!"
									/>
				                </label>
				                <label>Senha<br />
			                	<p:password feedback="false" value="#{usuarioMB.usuario.senha}"
									id="passlogin" required="true"
									requiredMessage="Senha é obrigatória!"/>
				                </label>
				                <h:commandButton value="Acessar" action="#{usuarioMB.login}" update="growl"/>
				                <div id="copyhight">© Copyright . Todos os direitos reservados</div>
			                </h:form>
			        </div><!-- /box-form-login -->
			    </div><!-- /wrap -->
			</div><!-- /container -->
	</h:body>
</f:view>
</html>